###
# ============LICENSE_START==========================================
# ONAP Portal SDK
# ===================================================================
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
# ===================================================================
#
# Unless otherwise specified, all software contained herein is licensed
# under the Apache License, Version 2.0 (the “License”);
# you may not use this software except in compliance with the License.
# You may obtain a copy of the License at
#
#             http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Unless otherwise specified, all documentation contained herein is licensed
# under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
# you may not use this documentation except in compliance with the License.
# You may obtain a copy of the License at
#
#             https://creativecommons.org/licenses/by/4.0/
#
# Unless required by applicable law or agreed to in writing, documentation
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ============LICENSE_END============================================
#
#
###
# Properties read by ECOMP Framework library, ecompFW.jar

##########################################################################
# The following properties should NOT be changed by partner applications.
##########################################################################

portal.api.prefix = /api
max.idle.time = 5
user.attribute.name = user_attribute

#Use REST API instead of UEB to fetch the functional menu data
use_rest_for_functional_menu=true


##########################################################################
# The following properties MUST be changed by partner applications.
##########################################################################

# Name of java class that implements the OnBoardingApiService interface.
portal.api.impl.class = org.openecomp.sdc.be.ecomp.PortalRestApiCentralServiceImpl
role_access_centralized = remote

# Cookie set by CSP-SSO
#csp_cookie_name = onapCsp

# CSP setting, most use PROD; DEV also recognized
csp_gate_keeper_prod_key = PROD

# URL of the Portal where this app is onboarded
ecomp_redirect_url = <%= @ecomp_redirect_url %>

# URL of the ECOMP Portal REST API
ecomp_rest_url = <%= @ecomp_rest_url %>

# Connection and Read timeout values
ext_req_connection_timeout = 15000
ext_req_read_timeout = 20000

# Name of java class that implements the OnBoardingApiService interface.
portal.api.impl.class = org.openecomp.sdc.be.ecomp.PortalRestApiCentralServiceImpl

#Portal user & key
portal_app_name = <%= @portal_app_name %>
portal_pass = <%= @ecomp_portal_pass %>
portal_user = <%= @ecomp_portal_user %>


# UEB key generated while on-boarding
ueb_app_key = ""

# Applications do not need to run a UEB listener after 1607.
ueb_listeners_enable = false
